{if empty($logPath)}
    <p>{!_"No debug file found. Reloading the page might help."}</p>
{else}
    {?include $logPath}
{/if}